'use strict';

const Controller = require('egg').Controller;

class StartWorkController extends Controller {
  async index() {
    const { ctx } = this;
    const res = await ctx.service.startwork.start();

    ctx.body = res;
  }
  async meeting() {
    const { ctx } = this;
    const res = await ctx.service.meetingNotice.start();

    ctx.body = res;
  }
}

module.exports = StartWorkController;
